package com.neusoft.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 后台用户登录日志表(UmsAdminLoginLog)实体类
 *
 * @author makejava
 * @since 2020-11-05 10:07:09
 */
public class UmsAdminLoginLog implements Serializable {

    private Long id;

    private Long adminId;

    private Date createTime;

    private String ip;

    private String address;
    /**
     * 浏览器登录类型
     */
    private String userAgent;

    private UmsAdmin umsAdmin;

    public UmsAdmin getUmsAdmin() {
        return umsAdmin;
    }

    public UmsAdminLoginLog setUmsAdmin(UmsAdmin umsAdmin) {
        this.umsAdmin = umsAdmin;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("UmsAdminLoginLog{");
        sb.append("id=").append(id);
        sb.append(", adminId=").append(adminId);
        sb.append(", createTime=").append(createTime);
        sb.append(", ip='").append(ip).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", userAgent='").append(userAgent).append('\'');
        sb.append(", umsAdmin=").append(umsAdmin);
        sb.append('}');
        return sb.toString();
    }
}